package com.macro.mall.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author：郎
 * @name：SmsOperateLogQuery
 * @date：2023/12/15 16:20
 */
@Setter
@Getter
public class SmsOperateLogQuery {

    @ApiModelProperty(value = "操作用户")
    private String username;

    @ApiModelProperty(value = "操作描述")
    private String description;

    @ApiModelProperty(value = "操作时间-开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date operateStartTime;
    @ApiModelProperty(value = "操作时间-结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date operateEndTime;

    @ApiModelProperty(value = "请求方法类型")
    private String method;

    @ApiModelProperty(value = "请求的服务")
    private String service;

    @ApiModelProperty(value = "是否包含返回结果")
    private boolean hasResult;
}
